/*
 * This file is part of Dorado 7.x (http://dorado7.bsdn.org).
 * 
 * Copyright (c) 2002-2012 BSTEK Corp. All rights reserved.
 * 
 * This file is dual-licensed under the AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html) 
 * and BSDN commercial (http://www.bsdn.org/licenses) licenses.
 * 
 * If you are unsure which license is appropriate for your use, please contact the sales department
 * at http://www.bstek.com/contact.
 */

[ {
	"name": "Departments",
	"type": "aggregation",
	"elementDataType": "Department"
}, {
	"name": "Department",
	"type": "entity",
	"propertyDefs": [ {
		"name": "id"
	}, {
		"name": "name"
	}, {
		"name": "departments",
		"dataType": "Departments"
	}, {
		"name": "employees",
		"dataType": "Employees"
	} ]
}, {
	"name": "Employees",
	"type": "aggregation",
	"elementDataType": "Employee"
}, {
	"name": "Employee",
	"type": "entity",
	"propertyDefs": [ {
		"name": "id"
	}, {
		"name": "name"
	}, {
		"name": "sex",
		"dataType": "boolean"
	}, {
		"name": "birthday",
		"dataType": "Date"
	}, {
		"name": "salary",
		"dataType": "float"
	}, {
		"name": "comment"
	} ]
} ]
